import request from "/@/utils/request"

export function getFqcPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getFqcPageSet',
        method: 'post',
        params: query
    })
}

export function getFqcDPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getFqcDPageSet',
        method: 'post',
        params: query
    })
}

export function getIqcPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getIqcPageSet',
        method: 'post',
        params: query
    })
}

export function getIqcDPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getIqcDPageSet',
        method: 'post',
        params: query
    })
}

export function getPqcPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getPqcPageSet',
        method: 'post',
        params: query
    })
}

export function getPqcRecordPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getPqcRecordPageSet',
        method: 'post',
        params: query
    })
}


export function getPqcDPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getPqcDPageSet',
        method: 'post',
        params: query
    })
}


export function getPqcDRecordPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getPqcDRecordPageSet',
        method: 'post',
        params: query
    })
}

export function getTiPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getTiPageSet',
        method: 'post',
        params: query
    })
}

export function getTiDPageSet(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getTiDPageSet',
        method: 'post',
        params: query
    })
}

export function getDetailBymasterId(query?: Object) {
    return request({
        url: '/eletile-qms/qmsTiCheckH/getDetailBymasterId',
        method: 'get',
        params: query
    })
}

export function getQmsTiCheckH(query?: Object) {
    return request({
        url: '/eletile-qms/qmsTiCheckH/getById',
        method: 'get',
        params: query
    })
}

export function delQmsTiCheckH(ids?: Object) {
    return request({
        url: '/eletile-qms/qmsTiCheckH',
        method: 'delete',
        data: ids
    })
}


export function qmsTiCheckHAudit(ids?: Object) {
    return request({
        url: '/eletile-qms/qmsTiCheckH/audit',
        method: 'post',
        data: ids
    })
}

export function qmsTiCheckHApprove(ids?: Object) {
    return request({
        url: '/eletile-qms/qmsTiCheckH/approve',
        method: 'post',
        data: ids
    })
}

export function getUnFinishedProduct(query?: Object) {
    return request({
        url: '/eletile-qms/qmsCheckReport/getUnFinishedProduct',
        method: 'post',
        data: query
    })
}





